/**
 * @author   Ivan Andonov
 * @email:   ivan.andonov[at]gmail[dot]com
 * 
 * @require  sjs, sjs.Delegate, sjs.Utils, jquery
 * @use      sjs.Debug
 * @optional 
 **/

(function() {
	
	sjs.create('sjs.Form.Radio', {
		
		// CONSTRUCTOR
		initialize : function(radio) {
			//$log('Radio radio='+radio);
			
			// PUBLIC VARS
			this.radio = radio;
			
			// PUBLIC METHODS
			this.checked = function() {
				return this.radio.checked;
			};
			
			this.value = function() {
				return this.radio.value;
			};
		}
		
	});
	
})();